//
//  SYUploadView.h
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/4/15.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, SYUploadViewType) {
    SYUploadViewTypePaiZhao,//拍照
    SYUploadViewTypeZhaoPian, //照片
    SYUploadViewTypeLiuLan //浏览
};


@protocol SYUploadViewDelegate <NSObject>

- (void)syuploadViewType:(SYUploadViewType)type;

@end


@interface SYUploadView : UIView


@property (weak, nonatomic) id<SYUploadViewDelegate>delegate;

/**
 显示

 @param btn 按钮
 */
- (void)showUploadView:(UIButton *)btn uploadView:(SYUploadView *)uploadView;


@end
